﻿@section header
{
    <link rel="stylesheet" href="/css/treetable.css" />
}
<blockquote class="layui-elem-quote news_search toolList" id="menus">
</blockquote>

    <div class="layui-row">
        <div class="layui-col-xs2">
            <ul id="tree" class="ztree"
                style="padding: 2px; border: 1px solid #ddd; overflow: auto;">
            </ul>
        </div>
        <div class="layui-col-xs10">
            <table class="layui-table"
                lay-data="{height: 'full-80', page:true, id:'mainList'}"
                lay-filter="list"  lay-size="sm">
                <thead>
                <tr>
                    <th lay-data="{checkbox:true, fixed: true}"></th>
                    <th lay-data="{field:'Id', width:150}">Id</th>
                    <th lay-data="{field:'title', width:150}">title</th>
                    <th lay-data="{field:'UserId', width:150}">UserId</th>
                    <th lay-data="{field:'Content', width:150}">Content</th>
                    <th lay-data="{field:'CreateTime', width:150}">CreateTime</th>
                    <th lay-data="{field:'UpdateTime', width:150}">UpdateTime</th>
                    <th lay-data="{field:'Remark', width:150}">Remark</th>
                    <th lay-data="{field:'results', width:150}">results</th>
                    <th lay-data="{fixed: 'right', width:160, align:'center', toolbar: '#barList'}"></th>
                </tr>
                </thead>
            </table>
        </div>
    </div>

<script type="text/html" id="barList">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
</script>


<!--添加/编辑窗口-->
<div id="divEdit" style="display: none">
    <form class="layui-form" action=""  id="formEdit">
    <input type="hidden" name="Id" v-model="Id" />
    <div class="layui-form-item">
        <label class="layui-form-label">title</label>
        <div class="layui-input-block">
            <input type="text" name="title" v-model="title" required lay-verify="required"
                placeholder="title" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">UserId</label>
        <div class="layui-input-block">
            <input type="text" name="UserId" v-model="UserId" required lay-verify="required"
                placeholder="UserId" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">Content</label>
        <div class="layui-input-block">
            <input type="text" name="Content" v-model="Content" required lay-verify="required"
                placeholder="Content" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">CreateTime</label>
        <div class="layui-input-block">
            <input type="text" name="CreateTime" v-model="CreateTime" required lay-verify="required"
                placeholder="CreateTime" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">UpdateTime</label>
        <div class="layui-input-block">
            <input type="text" name="UpdateTime" v-model="UpdateTime" required lay-verify="required"
                placeholder="UpdateTime" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">Remark</label>
        <div class="layui-input-block">
            <input type="text" name="Remark" v-model="Remark" required lay-verify="required"
                placeholder="Remark" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">results</label>
        <div class="layui-input-block">
            <input type="radio" name="results" value="1" title="value1" checked>
            <input type="radio" name="results" value="0" title="value2">
        </div>
    </div>


     <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formSubmit">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>

<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/userJs/WorkNotePlans.js"></script>


